package com.cucn.ingmall.cart.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 线程池配置属性
 *
 * @author KouChaoJie
 * @since: 2022/1/6 15:16
 */
@Data
@Component
@ConfigurationProperties(prefix = "ingmall.thread")
public class ThreadPoolConfigProperties {
    private Integer corePoolSize;
    private Integer maxSize;
    private Integer keepAliveTimes;
}
